package com.drone.drone_server.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("drone_route")
public class DroneRoute {
    @TableId(value = "route_id", type = IdType.AUTO)
    private Integer routeId;

    @TableField("route_name")
    private String routeName;

    @TableField("coordinates")
    private String coordinates;

    @TableField("is_active")
    private Boolean isActive;

    @TableField("create_time")
    private Date createTime;
}
